<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>甘肃省皋兰县全域交通数据融合中台监控大屏</title>
    <script src="https://cdn.jsdelivr.net/npm/echarts@5.4.3/dist/echarts.min.js"></script>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Microsoft YaHei', Arial, sans-serif;
            background: linear-gradient(135deg, #0c1426 0%, #1a2332 50%, #0f1b2e 100%);
            color: #ffffff;
            overflow: hidden;
            height: 100vh;
        }

        .dashboard-container {
            width: 100vw;
            height: 100vh;
            padding: 10px;
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;
            grid-template-rows: 80px 260px 1fr;
            gap: 12px;
        }

        .mega-cards-row {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 15px;
        }

        .mega-card {
            background: linear-gradient(135deg, rgba(0, 150, 255, 0.15) 0%, rgba(0, 255, 150, 0.1) 50%, rgba(255, 107, 107, 0.1) 100%);
            border: 2px solid rgba(0, 255, 150, 0.3);
            border-radius: 15px;
            padding: 15px;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(15px);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .mega-card:hover {
            transform: translateY(-3px);
            border-color: rgba(0, 255, 150, 0.6);
            box-shadow: 0 15px 40px rgba(0, 255, 150, 0.2);
        }

        .mega-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #00d4ff, #00ff88, #ff6b6b);
            animation: pulse 2s infinite;
        }

        .mega-card-title {
            font-size: 1.3rem;
            font-weight: bold;
            color: #00ff88;
            text-align: center;
            margin-bottom: 15px;
            text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
            z-index: 10;
            position: relative;
        }

        .mega-metric {
            text-align: center;
            margin: 10px 0;
            z-index: 10;
            position: relative;
        }

        .mega-value {
            font-size: 2.8rem;
            font-weight: bold;
            background: linear-gradient(45deg, #00d4ff, #00ff88, #ff6b6b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: glow 2s ease-in-out infinite alternate;
        }

        @keyframes glow {
            from {
                filter: brightness(1);
            }

            to {
                filter: brightness(1.2);
            }
        }

        .mega-label {
            font-size: 1rem;
            color: #a0c4ff;
            margin-top: 5px;
            opacity: 0.9;
        }

        .mega-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
            margin-top: 10px;
            z-index: 10;
            position: relative;
        }

        .mega-stat-item {
            text-align: center;
            padding: 10px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            border: 1px solid rgba(0, 150, 255, 0.2);
        }

        .mega-stat-value {
            font-size: 1.4rem;
            font-weight: bold;
            color: #00d4ff;
        }

        .mega-stat-label {
            font-size: 0.8rem;
            color: #a0c4ff;
            margin-top: 3px;
        }

        .data-flow-visual {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 15px 0;
            position: relative;
            z-index: 10;
        }

        .flow-node {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(45deg, #00d4ff, #00ff88);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            font-weight: bold;
            color: #fff;
            position: relative;
            animation: pulse-node 2s infinite;
        }

        @keyframes pulse-node {

            0%,
            100% {
                box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
            }

            50% {
                box-shadow: 0 0 25px rgba(0, 255, 136, 0.8);
            }
        }

        .flow-connection {
            flex: 1;
            height: 3px;
            background: linear-gradient(90deg, #00d4ff, #00ff88);
            margin: 0 8px;
            position: relative;
            overflow: hidden;
        }

        .flow-connection::after {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
            animation: flow-data 2s infinite;
        }

        @keyframes flow-data {
            0% {
                left: -100%;
            }

            100% {
                left: 100%;
            }
        }

        .header {
            grid-column: 1 / -1;
            text-align: center;
            background: linear-gradient(90deg, rgba(0, 150, 255, 0.1) 0%, rgba(0, 255, 150, 0.1) 100%);
            border: 2px solid rgba(0, 150, 255, 0.3);
            border-radius: 15px;
            padding: 10px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            animation: shine 3s infinite;
        }

        @keyframes shine {
            0% {
                left: -100%;
            }

            100% {
                left: 100%;
            }
        }

        .header h1 {
            font-size: 2rem;
            font-weight: bold;
            background: linear-gradient(45deg, #00d4ff, #00ff88);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 5px;
        }

        .header .subtitle {
            font-size: 1rem;
            color: #a0c4ff;
            opacity: 0.8;
        }

        .card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
            border: 1px solid rgba(0, 150, 255, 0.2);
            border-radius: 12px;
            padding: 12px;
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 0;
        }

        .card:hover {
            border-color: rgba(0, 255, 150, 0.4);
            box-shadow: 0 0 30px rgba(0, 255, 150, 0.2);
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, #00d4ff, #00ff88, #ff6b6b);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 0.5;
            }

            50% {
                opacity: 1;
            }
        }

        .card-title {
            font-size: 1.1rem;
            color: #00d4ff;
            margin-bottom: 15px;
            text-align: center;
            font-weight: bold;
        }

        .metric-value {
            font-size: 2rem;
            font-weight: bold;
            text-align: center;
            margin: 10px 0;
        }

        .metric-label {
            font-size: 0.9rem;
            color: #a0c4ff;
            text-align: center;
            opacity: 0.8;
        }

        .chart-container {
            height: 120px;
            margin-top: 8px;
            flex: 1;
            min-height: 100px;
        }

        .status-indicator {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 8px;
            animation: blink 1.5s infinite;
        }

        .status-online {
            background-color: #00ff88;
        }

        .status-warning {
            background-color: #ffaa00;
        }

        .status-offline {
            background-color: #ff4444;
        }

        @keyframes blink {

            0%,
            50% {
                opacity: 1;
            }

            51%,
            100% {
                opacity: 0.3;
            }
        }

        .data-flow {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 10px 0;
        }

        .flow-item {
            text-align: center;
            flex: 1;
        }

        .flow-arrow {
            color: #00d4ff;
            font-size: 1.5rem;
            animation: flow 2s infinite;
        }

        @keyframes flow {

            0%,
            100% {
                transform: translateX(0);
                opacity: 0.5;
            }

            50% {
                transform: translateX(5px);
                opacity: 1;
            }
        }

        .grid-left {
            display: grid;
            grid-template-rows: repeat(3, 1fr);
            gap: 12px;
            min-height: 0;
        }

        .grid-right {
            display: grid;
            grid-template-rows: repeat(3, 1fr);
            gap: 12px;
            min-height: 0;
        }

        .center-main {
            display: grid;
            grid-template-rows: 1fr 1fr;
            gap: 12px;
            min-height: 0;
        }

        .time-display {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 1.1rem;
            color: #00d4ff;
        }
    </style>
</head>

<body>
    <div class="dashboard-container">
        <div class="time-display" id="currentTime"></div>

        <div class="header">
            <h1>甘肃省皋兰县全域交通数据融合中台</h1>
            <div class="subtitle">实时监控 · 数据驱动 · 智能决策</div>
        </div>

        <!-- 三个大气的统计卡片 -->
        <div class="mega-cards-row">
            <!-- 全域数据汇聚总览 -->
            <div class="mega-card">
                <div class="mega-card-title">全域数据汇聚总览</div>
                <div class="mega-metric">
                    <div class="mega-value" id="totalDataVolume">156.8</div>
                    <div class="mega-label">TB 累计数据总量</div>
                </div>
                <div class="data-flow-visual">
                    <div class="flow-node">交</div>
                    <div class="flow-connection"></div>
                    <div class="flow-node">管</div>
                    <div class="flow-connection"></div>
                    <div class="flow-node">路</div>
                    <div class="flow-connection"></div>
                    <div class="flow-node">气</div>
                </div>
                <div class="mega-stats">
                    <div class="mega-stat-item">
                        <div class="mega-stat-value" id="dailyIncrease">2.3</div>
                        <div class="mega-stat-label">TB/日增量</div>
                    </div>
                    <div class="mega-stat-item">
                        <div class="mega-stat-value">7</div>
                        <div class="mega-stat-label">数据源系统</div>
                    </div>
                </div>
            </div>

            <!-- 智能融合处理中心 -->
            <div class="mega-card">
                <div class="mega-card-title">智能融合处理中心</div>
                <div class="mega-metric">
                    <div class="mega-value" id="processingSpeed">98.7</div>
                    <div class="mega-label">% 实时处理成功率</div>
                </div>
                <div class="chart-container" id="megaProcessingChart" style="height: 80px; margin: 10px 0;"></div>
                <div class="mega-stats">
                    <div class="mega-stat-item">
                        <div class="mega-stat-value" id="avgLatency">0.8</div>
                        <div class="mega-stat-label">秒平均延迟</div>
                    </div>
                    <div class="mega-stat-item">
                        <div class="mega-stat-value">24/7</div>
                        <div class="mega-stat-label">不间断运行</div>
                    </div>
                </div>
            </div>

            <!-- 数据服务能力展示 -->
            <div class="mega-card">
                <div class="mega-card-title">数据服务能力展示</div>
                <div class="mega-metric">
                    <div class="mega-value" id="serviceCapacity">99.9</div>
                    <div class="mega-label">% 服务可用性</div>
                </div>
                <div class="chart-container" id="megaServiceChart" style="height: 80px; margin: 10px 0;"></div>
                <div class="mega-stats">
                    <div class="mega-stat-item">
                        <div class="mega-stat-value" id="concurrentUsers">1.2K</div>
                        <div class="mega-stat-label">并发用户数</div>
                    </div>
                    <div class="mega-stat-item">
                        <div class="mega-stat-value">45</div>
                        <div class="mega-stat-label">API接口数</div>
                    </div>
                </div>
            </div>
        </div>

        <div class="grid-left">
            <!-- 数据源接入状态 -->
            <div class="card">
                <div class="card-title">数据源接入状态</div>
                <div class="data-flow">
                    <div class="flow-item">
                        <div><span class="status-indicator status-online"></span>公安交管</div>
                        <div style="font-size: 0.8rem; color: #00ff88;">在线</div>
                    </div>
                    <div class="flow-arrow">→</div>
                    <div class="flow-item">
                        <div><span class="status-indicator status-online"></span>交通运管</div>
                        <div style="font-size: 0.8rem; color: #00ff88;">在线</div>
                    </div>
                </div>
                <div class="data-flow">
                    <div class="flow-item">
                        <div><span class="status-indicator status-warning"></span>公路管理</div>
                        <div style="font-size: 0.8rem; color: #ffaa00;">延迟</div>
                    </div>
                    <div class="flow-arrow">→</div>
                    <div class="flow-item">
                        <div><span class="status-indicator status-online"></span>气象部门</div>
                        <div style="font-size: 0.8rem; color: #00ff88;">在线</div>
                    </div>
                </div>
                <div class="metric-value" style="color: #00ff88;">6/7</div>
                <div class="metric-label">数据源在线率 85.7%</div>
            </div>

            <!-- 实时数据处理量 -->
            <div class="card">
                <div class="card-title">实时数据处理</div>
                <div class="chart-container" id="dataProcessChart"></div>
                <div class="metric-value" style="color: #00d4ff;">2.3M</div>
                <div class="metric-label">条/小时处理量</div>
            </div>

            <!-- 数据质量监控 -->
            <div class="card">
                <div class="card-title">数据质量评估</div>
                <div class="chart-container" id="dataQualityChart"></div>
                <div class="metric-value" style="color: #00ff88;">98.5%</div>
                <div class="metric-label">数据完整性</div>
            </div>
        </div>

        <div class="center-main">
            <!-- 数据融合全景图 -->
            <div class="card">
                <div class="card-title">数据融合全景态势</div>
                <div class="chart-container" id="fusionOverviewChart"></div>
            </div>

            <!-- 系统性能监控 -->
            <div class="card">
                <div class="card-title">中台系统性能监控</div>
                <div class="chart-container" id="systemPerformanceChart"></div>
            </div>
        </div>

        <div class="grid-right">
            <!-- 数据存储状态 -->
            <div class="card">
                <div class="card-title">数据存储状态</div>
                <div class="chart-container" id="storageChart"></div>
                <div class="metric-value" style="color: #ff6b6b;">1.2TB</div>
                <div class="metric-label">今日新增数据</div>
            </div>

            <!-- API调用统计 -->
            <div class="card">
                <div class="card-title">API服务调用</div>
                <div class="chart-container" id="apiCallChart"></div>
                <div class="metric-value" style="color: #00d4ff;">15.6K</div>
                <div class="metric-label">次/分钟调用量</div>
            </div>

            <!-- 异常告警统计 -->
            <div class="card">
                <div class="card-title">异常告警统计</div>
                <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0;">
                    <div style="text-align: center;">
                        <div style="font-size: 1.5rem; color: #ff6b6b; font-weight: bold;">3</div>
                        <div style="font-size: 0.8rem; color: #a0c4ff;">严重告警</div>
                    </div>
                    <div style="text-align: center;">
                        <div style="font-size: 1.5rem; color: #ffaa00; font-weight: bold;">12</div>
                        <div style="font-size: 0.8rem; color: #a0c4ff;">一般告警</div>
                    </div>
                </div>
                <div class="chart-container" id="alertChart"></div>
            </div>
        </div>
    </div>

    <script>
        // 更新时间显示
        function updateTime() {
            const now = new Date();
            const timeStr = now.toLocaleString('zh-CN', {
                year: 'numeric',
                month: '2-digit',
                day: '2-digit',
                hour: '2-digit',
                minute: '2-digit',
                second: '2-digit'
            });
            document.getElementById('currentTime').textContent = timeStr;
        }
        setInterval(updateTime, 1000);
        updateTime();

        // 数据处理量图表
        const dataProcessChart = echarts.init(document.getElementById('dataProcessChart'));
        const dataProcessOption = {
            backgroundColor: 'transparent',
            grid: { top: 10, right: 10, bottom: 20, left: 30 },
            xAxis: {
                type: 'category',
                data: ['00:00', '04:00', '08:00', '12:00', '16:00', '20:00'],
                axisLine: { lineStyle: { color: '#4a90e2' } },
                axisLabel: { color: '#a0c4ff', fontSize: 10 }
            },
            yAxis: {
                type: 'value',
                axisLine: { lineStyle: { color: '#4a90e2' } },
                axisLabel: { color: '#a0c4ff', fontSize: 10 },
                splitLine: { lineStyle: { color: 'rgba(74, 144, 226, 0.2)' } }
            },
            series: [{
                data: [1.8, 2.1, 2.5, 2.3, 2.7, 2.4],
                type: 'line',
                smooth: true,
                lineStyle: { color: '#00d4ff', width: 3 },
                itemStyle: { color: '#00d4ff' },
                areaStyle: {
                    color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                        { offset: 0, color: 'rgba(0, 212, 255, 0.3)' },
                        { offset: 1, color: 'rgba(0, 212, 255, 0.05)' }
                    ])
                }
            }]
        };
        dataProcessChart.setOption(dataProcessOption);

        // 数据质量图表
        const dataQualityChart = echarts.init(document.getElementById('dataQualityChart'));
        const dataQualityOption = {
            backgroundColor: 'transparent',
            series: [{
                type: 'gauge',
                startAngle: 180,
                endAngle: 0,
                min: 0,
                max: 100,
                splitNumber: 5,
                itemStyle: { color: '#00ff88' },
                progress: { show: true, width: 8 },
                pointer: { show: false },
                axisLine: { lineStyle: { width: 8, color: [[1, 'rgba(255,255,255,0.1)']] } },
                axisTick: { show: false },
                splitLine: { show: false },
                axisLabel: { show: false },
                detail: {
                    valueAnimation: true,
                    formatter: '{value}%',
                    color: '#00ff88',
                    fontSize: 16,
                    offsetCenter: [0, '10%']
                },
                data: [{ value: 98.5 }]
            }]
        };
        dataQualityChart.setOption(dataQualityOption);

        // 数据融合全景图
        const fusionChart = echarts.init(document.getElementById('fusionOverviewChart'));
        const fusionOption = {
            backgroundColor: 'transparent',
            tooltip: { trigger: 'item' },
            legend: {
                top: '5%',
                left: 'center',
                textStyle: { color: '#a0c4ff' }
            },
            series: [{
                name: '数据来源分布',
                type: 'pie',
                radius: ['40%', '70%'],
                center: ['50%', '60%'],
                data: [
                    { value: 1048, name: '公安交管数据', itemStyle: { color: '#00d4ff' } },
                    { value: 735, name: '交通运管数据', itemStyle: { color: '#00ff88' } },
                    { value: 580, name: '公路管理数据', itemStyle: { color: '#ff6b6b' } },
                    { value: 484, name: '气象数据', itemStyle: { color: '#ffaa00' } },
                    { value: 300, name: '城建规划数据', itemStyle: { color: '#9c88ff' } }
                ],
                emphasis: {
                    itemStyle: {
                        shadowBlur: 10,
                        shadowOffsetX: 0,
                        shadowColor: 'rgba(0, 0, 0, 0.5)'
                    }
                }
            }]
        };
        fusionChart.setOption(fusionOption);

        // 系统性能监控
        const performanceChart = echarts.init(document.getElementById('systemPerformanceChart'));
        const performanceOption = {
            backgroundColor: 'transparent',
            tooltip: { trigger: 'axis' },
            legend: {
                data: ['CPU使用率', '内存使用率', '网络吞吐'],
                textStyle: { color: '#a0c4ff' }
            },
            grid: { top: 40, right: 20, bottom: 30, left: 40 },
            xAxis: {
                type: 'category',
                data: ['10:00', '10:30', '11:00', '11:30', '12:00', '12:30'],
                axisLine: { lineStyle: { color: '#4a90e2' } },
                axisLabel: { color: '#a0c4ff' }
            },
            yAxis: {
                type: 'value',
                max: 100,
                axisLine: { lineStyle: { color: '#4a90e2' } },
                axisLabel: { color: '#a0c4ff' },
                splitLine: { lineStyle: { color: 'rgba(74, 144, 226, 0.2)' } }
            },
            series: [
                {
                    name: 'CPU使用率',
                    type: 'line',
                    data: [45, 52, 48, 61, 55, 58],
                    lineStyle: { color: '#00d4ff' },
                    itemStyle: { color: '#00d4ff' }
                },
                {
                    name: '内存使用率',
                    type: 'line',
                    data: [38, 42, 45, 47, 44, 46],
                    lineStyle: { color: '#00ff88' },
                    itemStyle: { color: '#00ff88' }
                },
                {
                    name: '网络吞吐',
                    type: 'line',
                    data: [72, 78, 85, 82, 88, 85],
                    lineStyle: { color: '#ff6b6b' },
                    itemStyle: { color: '#ff6b6b' }
                }
            ]
        };
        performanceChart.setOption(performanceOption);

        // 存储状态图表
        const storageChart = echarts.init(document.getElementById('storageChart'));
        const storageOption = {
            backgroundColor: 'transparent',
            series: [{
                type: 'liquidFill',
                data: [0.68],
                color: ['#00d4ff'],
                itemStyle: {
                    opacity: 0.6
                },
                emphasis: {
                    itemStyle: {
                        opacity: 0.9
                    }
                }
            }]
        };
        // 由于liquidFill需要额外插件，这里用简单的饼图替代
        const storageSimpleOption = {
            backgroundColor: 'transparent',
            series: [{
                type: 'pie',
                radius: ['50%', '70%'],
                center: ['50%', '50%'],
                data: [
                    { value: 68, name: '已使用', itemStyle: { color: '#00d4ff' } },
                    { value: 32, name: '剩余', itemStyle: { color: 'rgba(255,255,255,0.1)' } }
                ],
                label: { show: false },
                emphasis: { scale: false }
            }]
        };
        storageChart.setOption(storageSimpleOption);

        // API调用图表
        const apiChart = echarts.init(document.getElementById('apiCallChart'));
        const apiOption = {
            backgroundColor: 'transparent',
            grid: { top: 10, right: 10, bottom: 20, left: 30 },
            xAxis: {
                type: 'category',
                data: ['1min', '2min', '3min', '4min', '5min'],
                axisLine: { lineStyle: { color: '#4a90e2' } },
                axisLabel: { color: '#a0c4ff', fontSize: 10 }
            },
            yAxis: {
                type: 'value',
                axisLine: { lineStyle: { color: '#4a90e2' } },
                axisLabel: { color: '#a0c4ff', fontSize: 10 },
                splitLine: { lineStyle: { color: 'rgba(74, 144, 226, 0.2)' } }
            },
            series: [{
                data: [12.5, 15.2, 16.8, 15.6, 14.9],
                type: 'bar',
                itemStyle: {
                    color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                        { offset: 0, color: '#00d4ff' },
                        { offset: 1, color: 'rgba(0, 212, 255, 0.3)' }
                    ])
                }
            }]
        };
        apiChart.setOption(apiOption);

        // 告警统计图表
        const alertChart = echarts.init(document.getElementById('alertChart'));
        const alertOption = {
            backgroundColor: 'transparent',
            grid: { top: 10, right: 10, bottom: 20, left: 30 },
            xAxis: {
                type: 'category',
                data: ['周一', '周二', '周三', '周四', '周五'],
                axisLine: { lineStyle: { color: '#4a90e2' } },
                axisLabel: { color: '#a0c4ff', fontSize: 10 }
            },
            yAxis: {
                type: 'value',
                axisLine: { lineStyle: { color: '#4a90e2' } },
                axisLabel: { color: '#a0c4ff', fontSize: 10 },
                splitLine: { lineStyle: { color: 'rgba(74, 144, 226, 0.2)' } }
            },
            series: [
                {
                    name: '严重',
                    type: 'bar',
                    stack: 'total',
                    data: [2, 1, 3, 2, 3],
                    itemStyle: { color: '#ff6b6b' }
                },
                {
                    name: '一般',
                    type: 'bar',
                    stack: 'total',
                    data: [8, 12, 15, 10, 12],
                    itemStyle: { color: '#ffaa00' }
                }
            ]
        };
        alertChart.setOption(alertOption);

        // 响应式处理
        window.addEventListener('resize', function () {
            dataProcessChart.resize();
            dataQualityChart.resize();
            fusionChart.resize();
            performanceChart.resize();
            storageChart.resize();
            apiChart.resize();
            alertChart.resize();
        });

        // 大气卡片图表 - 智能融合处理中心
        const megaProcessingChart = echarts.init(document.getElementById('megaProcessingChart'));
        const megaProcessingOption = {
            backgroundColor: 'transparent',
            grid: { top: 5, right: 5, bottom: 15, left: 25 },
            xAxis: {
                type: 'category',
                data: ['1h', '2h', '3h', '4h', '5h', '6h'],
                axisLine: { show: false },
                axisTick: { show: false },
                axisLabel: { color: '#a0c4ff', fontSize: 10 }
            },
            yAxis: {
                type: 'value',
                show: false
            },
            series: [{
                data: [95.2, 97.8, 98.1, 98.7, 99.2, 98.9],
                type: 'line',
                smooth: true,
                symbol: 'circle',
                symbolSize: 6,
                lineStyle: {
                    color: '#00ff88',
                    width: 3,
                    shadowColor: 'rgba(0, 255, 136, 0.5)',
                    shadowBlur: 10
                },
                itemStyle: {
                    color: '#00ff88',
                    shadowColor: 'rgba(0, 255, 136, 0.8)',
                    shadowBlur: 8
                },
                areaStyle: {
                    color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                        { offset: 0, color: 'rgba(0, 255, 136, 0.4)' },
                        { offset: 1, color: 'rgba(0, 255, 136, 0.05)' }
                    ])
                }
            }]
        };
        megaProcessingChart.setOption(megaProcessingOption);

        // 大气卡片图表 - 数据服务能力
        const megaServiceChart = echarts.init(document.getElementById('megaServiceChart'));
        const megaServiceOption = {
            backgroundColor: 'transparent',
            grid: { top: 5, right: 5, bottom: 15, left: 25 },
            xAxis: {
                type: 'category',
                data: ['6h', '12h', '18h', '24h', '30h', '36h'],
                axisLine: { show: false },
                axisTick: { show: false },
                axisLabel: { color: '#a0c4ff', fontSize: 10 }
            },
            yAxis: {
                type: 'value',
                show: false
            },
            series: [{
                data: [99.5, 99.8, 99.9, 99.7, 99.9, 99.9],
                type: 'bar',
                barWidth: '60%',
                itemStyle: {
                    color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
                        { offset: 0, color: '#00d4ff' },
                        { offset: 0.5, color: '#00ff88' },
                        { offset: 1, color: '#ff6b6b' }
                    ]),
                    shadowColor: 'rgba(0, 212, 255, 0.5)',
                    shadowBlur: 10
                }
            }]
        };
        megaServiceChart.setOption(megaServiceOption);

        // 模拟数据更新
        setInterval(function () {
            // 更新实时数据
            const newData = Math.random() * 0.5 + 2.0;
            const currentData = dataProcessOption.series[0].data;
            currentData.shift();
            currentData.push(newData);
            dataProcessChart.setOption(dataProcessOption);

            // 更新大气卡片数据
            const totalVolume = (156.8 + Math.random() * 0.5).toFixed(1);
            const dailyIncrease = (2.3 + Math.random() * 0.3).toFixed(1);
            const processingRate = (98.7 + Math.random() * 1.0).toFixed(1);
            const avgLatency = (0.8 + Math.random() * 0.2).toFixed(1);
            const serviceAvailability = (99.9 + Math.random() * 0.1).toFixed(1);
            const concurrentUsers = (1.2 + Math.random() * 0.3).toFixed(1);

            document.getElementById('totalDataVolume').textContent = totalVolume;
            document.getElementById('dailyIncrease').textContent = dailyIncrease;
            document.getElementById('processingSpeed').textContent = processingRate;
            document.getElementById('avgLatency').textContent = avgLatency;
            document.getElementById('serviceCapacity').textContent = serviceAvailability;
            document.getElementById('concurrentUsers').textContent = concurrentUsers + 'K';
        }, 3000);

        // 响应式处理 - 添加新图表
        window.addEventListener('resize', function () {
            dataProcessChart.resize();
            dataQualityChart.resize();
            fusionChart.resize();
            performanceChart.resize();
            storageChart.resize();
            apiChart.resize();
            alertChart.resize();
            megaProcessingChart.resize();
            megaServiceChart.resize();
        });
    </script>
</body>

</html>